<p>
  <label for="album_name" >名称:</label>
  <%= text_field :album,:name, :size=>40 %>
</p>
<p>
  公开相册:
  <%=radio_button "album","is_public",true%> 是
  <%=radio_button "album","is_public",false%> 否
</p>
<p>
  首页显示:
  <%=radio_button "album","show_on_index",true%> 是
  <%=radio_button "album","show_on_index",false%> 否
</p>
<p>
  <label for="album_description" >相册描述:</label>
  <%= text_area :album,:description, :rows => 3, :cols => 40 %>
</p>
